{if $options!=''} {block name="product_listing_option_template_product_options_selection"}

{foreach name=outer item=options_data from=$options} {if $options_data.DATA || $GM_HIDE_OUT_OF_STOCK == 'false'} {block name="product_listing_option_template_product_options_selection_option"}
{$options_data.NAME}:
  {foreach key=key_data item=item_data from=$options_data.DATA} {block name="product_listing_option_template_product_options_selection_radio"}
  {$item_data.TEXT} {if $item_data.PRICE!=''}( {$item_data.PREFIX}{$item_data.PRICE} ){/if}{if $GM_SHOW_STOCK == 'true' && $options_data.NAME != 'downloads'} {$GM_STOCK_TEXT_BEFORE}{$item_data.GM_STOCK}{$GM_STOCK_TEXT_AFTER}{/if}
  {/block} {/foreach} {$chk = false}
{/block} {/if} {/foreach}

{/block} {/if}